﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace AppFramework.DinosaursParkMes.Production.DTO
{
    public class MaterialShowDTO
    {
        public int Id { get; set; }
        /// <summary>
        /// 领料单名称
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string Materialrequisitionname { get; set; }

        /// <summary>
        /// 领料单编号
        /// </summary>
        public string Materialrequisitioncode { get; set; }
        /// <summary>
        /// 领料日期
        /// </summary>
        [Required]
        public DateTime Materialrequisitiondate { get; set; }

        /// <summary>
        /// 领料人
        /// </summary>
        [Required]
        public string Person { get; set; }

        /// <summary>
        /// 工单名称
        /// </summary>
        [Required]
        public string Workordername { get; set; }

        /// <summary>
        /// 工单编号
        /// </summary>
        [Required]
        public string Workordercode { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        [Required]
        public string Taskname { get; set; }

        /// <summary>
        /// 任务编号
        /// </summary>
        [Required]
        public string Taskcode { get; set; }

        /// <summary>
        /// 工艺路线
        /// </summary>
        public string Processroute { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string Processname { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        public bool State { get; set; }
    }
}
